package com.gouda.core.entity;

import lombok.Data;
import org.amethyst.atlas.basic.entity.MagicDBEntity;
import org.amethyst.atlas.basic.meta.Column;
import org.amethyst.atlas.basic.meta.PrimaryKey;
import org.amethyst.atlas.basic.meta.Table;

import java.io.Serializable;

/**
 * 银行
 * Created by KGL on 2015/12/4.
 */
@Data
@Table(tableName = "bank")
public class BankEntity extends MagicDBEntity<BankEntity> implements Serializable {

    private static final long serialVersionUID = 8233491315263080219L;
    @PrimaryKey
    private long id;
    @Column
    private long parentId;
    @Column
    private String bankName;
}
